import request from '@/config/axios'

export const getPushMeteringPage = async (params) => {
  return await request.get({
    url: '/pushMetering/getPage',
    params
  })
}

export const getRelationCustomer = async (params) => {
  return await request.get({
    url: '/pushMetering/getRelationCustomer',
    params
  })
}

export const getRelationCoalName = async (params) => {
  return await request.get({
    url: '/pushMetering/getRelationCoalName',
    params
  })
}

export const pushMetering = async (data) => {
  return await request.post({ url: `/pushMetering/pushMetering`, data })
}
